package com.idealighter.game.games.fqzs.handler;

import com.google.inject.Inject;

import com.idealighter.game.core.annotation.ReqMsgHandler;
import com.idealighter.game.games.fqzs.manager.SharkMgr;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ReqMessage;
import com.idealighter.game.message.core.ResMessage;
import com.idealighter.game.player.struct.Player;
import com.idealighter.game.server.handler.ReqMessageHandler;

@ReqMsgHandler(ModuleMsgIdConstant.Fqzs.GAME_INFO)
public class ReqGameInfoHandler implements ReqMessageHandler {
  @Inject
  private SharkMgr sharkMgr;


  @Override
  public ResMessage action(Player player, ReqMessage message) {

    return sharkMgr.getGameInfo(player);
  }
}
